
public class StringBufferDemo {
	public static void main(String[] args) {
		StringBuffer sv=new StringBuffer("Welcome to zhbit");
		sv.append("Hello");
		System.out.println(sv);
		
		sv.insert(7, "AAA");
		System.out.println(sv);
		sv.setCharAt(0,'w');
		System.out.println(sv);
		String s=sv.toString();
		System.out.println(s);
		
		sv.reverse();
		System.out.println(sv);
	}

}
